<?php
namespace Admin\Controller;
use Think\Controller;
class CommonController extends Controller {
    public function _initialize()
    {
        $uid = $_SESSION['aid'];

        $paths = MODULE_NAME.'/'.CONTROLLER_NAME.'/'.ACTION_NAME;

        var_dump($uid,$paths);

        $auth = new \Think\Auth();

        var_dump($auth->check( $paths, 9 ));
    }
    
}